Accord Software, Inc.

tutorial05/tree.h




/*
 * Accord Software, Inc.
 *
 * Tutorial 05
 */

#define TREE_PROGNUM    0x20000000 + 5
#define TREE_VERSNUM    1

/*
 * node containing a number
 */

struct tnode {
	int num;                /* number        */
	struct tnode *left;     /* left child    */
	struct tnode *right;    /* right child   */
};

/*
 * node containing a token
 */ 

struct strnode {
	char *token;           
	struct strnode *left;
	struct strnode *right;
};

[ Home | Tutorials | main.c | tree.c ]
E-Mail:webmaster@accord.com
[P-066] Updated March 14, 1996
Copyright © 1993-1996 Accord Software, Inc. All rights reserved.